<html>
<head>
	<title></title>
	<script type="text/javascript">

	var Vehicle = (function (){
	    function InnerVehicle(year, make, model)
	    {
	        this.year = year;
	        this.make = make;
	        this.model = model;
	    } 

	    InnerVehicle.prototype.getInfo = function ()
	    {
	        return this.year + ' ' + this.make + ' ' + this.model;
	    };

	    InnerVehicle.prototype.startEngine = function ()
	    {
	        return 'Vroom';
	    };

	    return InnerVehicle;
	})();

	var v = new Vehicle(1,"make","model");
	console.debug(v.getInfo());
	</script>
</head>
<body>
<script type="text/javascript">

</script>
</body>
</html>